package com.nuliji.dto;

import com.aliyuncs.dysmsapi.model.v20170525.SendSmsResponse;
import org.hibernate.validator.constraints.NotBlank;

import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.util.Date;

/**
 * Created by GaoJie on 2017/11/3.
 */
public class SmsSessionDto implements Serializable {

    @NotBlank
    private String code;

    @NotBlank
    private String sendMobile;

    @NotNull
    private Date expireTime;
    private SendSmsResponse response;

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public SendSmsResponse getResponse() {
        return response;
    }

    public void setResponse(SendSmsResponse response) {
        this.response = response;
    }

    public String getSendMobile() {
        return sendMobile;
    }

    public void setSendMobile(String sendMobile) {
        this.sendMobile = sendMobile;
    }

    public Date getExpireTime() {
        return expireTime;
    }

    public void setExpireTime(Date expireTime) {
        this.expireTime = expireTime;
    }
}
